<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<link rel="stylesheet" type="text/css" href="libs/bootstrap.min.css" />
		<link rel="stylesheet" type="text/css" href="libs/iconfont.css" />
		<link rel="stylesheet" type="text/css" href="css/write-article.css" />
		<link rel="stylesheet" type="text/css" href="libs/nprogress.css" />
		<script src="libs/nprogress.js"></script>
		<title>阿里百秀 管理中心</title>
	</head>
	<body>
		<script>
			NProgress.start();
		</script>

		<div class="main">

			<!-- 顶部导航栏 -->
			@@include('./common/top-nav.html')

			<div class="container-fluid">
				<div class="page-title">
					<h1>写文章</h1>
				</div>
				<div class="alert alert-danger">
					<strong>错误！</strong>发生XXX错误
				</div>
				<form class="row">
					<div class="col-md-9">
						<div class="form-group">
							<label for="title">标题</label>
							<input id="title" class="form-control input-lg" type="text" placeholder="文章标题">
						</div>
						<div class="form-group">
							<label for="content">内容</label>
							<textarea id="content" class="form-control input-lg" cols="30" rows="10"
								placeholder="内容"></textarea>
						</div>
					</div>
					<div class="col-md-3">
						<div class="form-group">
							<label for="feature">文章封面</label>
							<!-- show when image chose -->
							<img class="help-block thumbnail" style="display: none">
							<input id="feature" class="form-control" type="file">
						</div>
						<div class="form-group">
							<label for="category">所属分类</label>
							<select id="category" class="form-control">
								<option value="1" selected="selected">未分类</option>
								<option value="2">潮生活</option>
							</select>
						</div>
						<div class="form-group">
							<label for="created">发布时间</label>
							<input id="created" class="form-control" type="datetime-local">
						</div>
						<div class="form-group">
							<label for="status">状态</label>
							<select id="status" class="form-control">
								<option value="0" selected="selected">草稿</option>
								<option value="1">已发布</option>
							</select>
						</div>
						<div class="form-group">
							<button class="btn btn-primary" type="button">保存</button>
						</div>
					</div>
				</form>
			</div>
		</div>

		<!-- 左侧导航栏 -->
		@@include('./common/aside.html')

		@@include('./common/base.html')

		@@include('./common/checkLoginStatus.html')

		<script src="libs/bootstrap.min.js"></script>
		<script src="libs/moment.js" type='module'></script>
		<script src="libs/moment-with-locales.js"></script>
		<script src="js/write-article.js"></script>
		
		<script>
			NProgress.done();
		</script>
	</body>
</html>
